package com.jblog.core.service.blog;

import java.util.List;

import com.jblog.core.model.blog.Tag;
import com.jblog.core.model.blog.param.TagParam;

public interface TagService {
    
    public Tag findById(Long id);
    
    public Tag findByAlisa(String s);
    
    public List<Tag> findByPostId(Long id);
    
    public List<Tag> findByParam(TagParam p);
    
    public Long count(TagParam p);
    
    public void enDisable(Tag e, boolean able);
    
    public void save(Tag e);
    
    public void update(Tag e);
    
    public void delete(Long id);
    
}
